<template>
	<view class="noData" v-if="noModal">
	    <image :src="imgUrl+noImg" class="noImg" mode="aspectFit"></image>
	    <text class="noTitle">{{noHint}}</text>
	  </view>
	</view>
</template>

<script>
	export default {
	  name:'nodata',
		props: {
			noModal: {
				type: [Boolean,Number],
				default: false
			},
			noHint:{
				type: [String,Number],
				default: '—— 没有对应的数据哦 ——'
			},
			noImg:{
				type: [String],
				default: 'static/nolist.gif'
			},
		},
		data() {
			return {
				 imgUrl:getApp().globalData.imgUrl,
			};
		},
		methods: {
		
		}
	}
</script>

<style>
</style>
